﻿using DesktopToy.Core.Common;

namespace DesktopToy.Test;

/// <summary>
/// 针对 <see cref="Config"/> 的单元测试
/// </summary>
public class TestConfig
{
    [Test]
    public void Test()
    {
        var config = Config.ReadConfig();
        Assert.That(config.WebServiceApiKey, Is.EqualTo("3fce616e8d8a7187d5f6af665a4ff61f"));
        Assert.That(config.WeatherAdcode == 450702, Is.True);
    }
}